package org.jeecg.modules.charge.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.modules.charge.entity.ChargeInvoiceMangroupPosition;
import org.jeecg.modules.charge.entity.ChargeInvoiceMangroupType;
import org.jeecg.modules.charge.entity.ChargeInvoiceManpeople;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Description: 收费标准
 * @Author: jeecg-boot
 * @Date:   2019-07-08
 * @Version: V1.0
 */
@Data
public class ChargeStandardPage {

	/**id*/
	@TableId(type = IdType.UUID)
	@ApiModelProperty(value = "id")
	private String id;
	/**收费项目代号*/
	@Excel(name = "收费项目代号", width = 15)
	@ApiModelProperty(value = "收费项目代号")
	private String itemCode;
	/**收费项目名称*/
	@Excel(name = "收费项目名称", width = 15)
	@ApiModelProperty(value = "收费项目名称")
	private String itemName;
	/**户主id*/
	@Excel(name = "户主id", width = 15)
	@ApiModelProperty(value = "户主id")
	private String customerId;
	/**租户id*/
	@Excel(name = "租户id", width = 15)
	@ApiModelProperty(value = "租户id")
	private String tenantRoomId;
	/**财务科目名称*/
	@Excel(name = "财务科目名称", width = 15)
	@ApiModelProperty(value = "财务科目名称")
	private String subjectsName;
	/**财务科目代号*/
	@Excel(name = "财务科目代号", width = 15)
	@ApiModelProperty(value = "财务科目代号")
	private String subjectsCode;
	/**计算方式 （0：按月收费 ， 1：单价乘以面积）区分收费标准的价格*/
	@Excel(name = "计算方式 （0：按月收费 ， 1：单价乘以面积）区分收费标准的价格", width = 15)
	@Dict(dicCode = "computing_type")
	@ApiModelProperty(value = "计算方式 （0：按月收费 ， 1：单价乘以面积）区分收费标准的价格")
	private int computingType;
	/**单价*/
	@Excel(name = "单价", width = 15)
	@ApiModelProperty(value = "单价")
	private String price;
	/**住户类型*/
	@Excel(name = "住户类型", width = 15)
	@Dict(dicCode = "resident")
	@ApiModelProperty(value = "住户类型")
	private String resident;
	/**创建者*/
	@Excel(name = "创建者", width = 15)
	@ApiModelProperty(value = "创建者")
	private String createBy;
	/**创建日期*/
	@Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private Date createTime;
	/**更新者*/
	@Excel(name = "更新者", width = 15)
	@ApiModelProperty(value = "更新者")
	private String updateBy;
	/**更新日期*/
	@Excel(name = "更新日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private Date updateTime;
	/**删除标记（0：正常；1：删除；2：审核）*/
	@Excel(name = "删除标记（0：正常；1：删除；2：审核）", width = 15)
	@ApiModelProperty(value = "删除标记（0：正常；1：删除；2：审核）")
	private String delFlag;
	/**remarks*/
	@Excel(name = "remarks", width = 15)
	@ApiModelProperty(value = "remarks")
	private String remarks;
	
}
